package com.wootion.cims.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wootion.cims.module.systemsetting.user.model.SysUserCommunity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserCommunityDao extends BaseMapper<SysUserCommunity> {
    /**
     * 根据用户id查询出当前用户对应的所有社区的id
     * @param id
     * @return
     */
    List<String> commnityIds(@Param("userid")String id);
}
